//
//  OADCellProtocol.h
//  OASDK_Works
//
//  Created by ChenJie on 3/2/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIView+OADLayout.h"
#import "OADCellViewModelProtocol.h"

@protocol OADCellProtocol <NSObject>

@property (nonatomic, strong) id<OADCellViewModelProtocol> viewModel;

+ (void)layoutsWithViewModel:(id<OADCellViewModelProtocol>)viewModel
            staticCellHeight:(CGFloat)staticCellHeight;

+ (OADLayout *)layoutWithViewModel:(id<OADCellViewModelProtocol>)viewModel
                  staticCellHeight:(CGFloat)staticCellHeight;

+ (OADLayout *)layoutWithViewModel:(id<OADCellViewModelProtocol>)viewModel;

+ (CGFloat)cellHeightLayoutsWithViewModel:(id<OADCellViewModelProtocol>)viewModel
                                   layout:(OADLayout *)layout;

@end

